package com.lichongbing.lyoggl.config;

import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2022/3/30 9:24 下午
 * @description: TODO
 */
@Configuration
public class CacheConfig {
    @Bean
    public Cache<String,String>  buildCache() {
        return CacheBuilder.newBuilder().build();
    }
}
